package com.myres.model;

/**
 * 
 * @author hikui
 * 
 */
public class Address implements java.io.Serializable {

	private static final long serialVersionUID = -4083679973429808373L;
	private Integer id;
	private User user;
	private Building building;
	private String entrance;
	private String room;
	private String phone;
	private String postcode;
	private String receiver;
	private String value;
	private Boolean isDefault;

	public Address() {
		super();
	}

	public Address(User user, Building building, String entrance, String room,
			String phone, String postcode, String receiver, String value,
			Boolean isDefault) {
		super();
		this.user = user;
		this.building = building;
		this.entrance = entrance;
		this.room = room;
		this.phone = phone;
		this.postcode = postcode;
		this.receiver = receiver;
		this.value = value;
		this.isDefault = isDefault;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Building getBuilding() {
		return building;
	}

	public void setBuilding(Building building) {
		this.building = building;
	}

	public String getEntrance() {
		return entrance;
	}

	public void setEntrance(String entrance) {
		this.entrance = entrance;
	}

	public String getRoom() {
		return room;
	}

	public void setRoom(String room) {
		this.room = room;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Boolean getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Boolean isDefault) {
		this.isDefault = isDefault;
	}

}
